#ifndef RASTERIZE_H
#define RASTERIZE_H

#include"header.h"

class Sampling {
protected:
	vector<float3> vertex_list;
	vector<int3> triangle_list;

public:
	void objloader(char*, int);
	void norm(const vector<float3>&, float);
	virtual void getsample (const char*, int)=0;
	virtual ~Sampling () {}
};

class RayTracer : public Sampling {
private:
	int trace(vector<float3>, float, float, float);

public:
	void getsample(const char*, int);
};

#endif
